home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000125_icon-group-sender_Mon Oct 30 13:09:44 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9UK93H06032
for icon-group-addresses; Mon, 30 Oct 2000 13:09:03 -0700 (MST)
Message-Id: <200010302009.e9UK93H06032@baskerville.CS.Arizona.EDU>
From: Chris.D.Tenaglia@jci.com
Subject: Re: Yet another Newbie question...
To: icon-group@cs.arizona.edu
Date: Mon, 30 Oct 2000 10:14:43 -0600
X-MIMETrack: Serialize by Router on jwimkrs1.na.jci.com/NA/Johnson_Controls(Release 5.0.4
|June 8, 2000) at 10/30/2000 10:22:38 AM
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 465
Letter Counting
count := 0
others := &cset -- &letters
every line := !file do
every byte := !line do
any(others,byte) | (count +:=1)
write(count)
There is a different between sets and csets.
csets are a collection of unique characters
sets are a collection of unique things, such as strings, bytes,
lists, numbers, or whatever. csets augment the string
scanning and parsing. sets are used at a higher level
to augment algorhythms.
Chris Tenaglia,